#ifndef HOVERTOOLBUTTON_H
#define HOVERTOOLBUTTON_H

#include <QLabel>
#include <QObject>
#include <QToolButton>

class HoverToolButton : public QToolButton
{
    Q_OBJECT
public:
    explicit HoverToolButton(QWidget *parent = nullptr);

protected:
    void enterEvent(QEnterEvent *event) override;
    void leaveEvent(QEvent *event) override;

private:
    void setVerifyCodeButton();
    void setLabelIcon(QString iconFilePath);

private:
    QString text_default_styleSheet;
    QString icon_default_styleSheet;
    QLabel *label;
    QLabel *label2;
};

#endif // HOVERTOOLBUTTON_H
